package org.example.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 邮箱配置类
 *
 * @author super-saya
 * @since 2025/9/14 13:20
 */
@Configuration
public class EmailConfig {
    
    @Value("${spring.mail.host}")
    private String host;

    @Value("${spring.mail.username}")
    private String userName;

    @Value("${spring.mail.password}")
    private String key;

    public String getHost() {
        return host;
    }

    public String getUserName() {
        return userName;
    }

    public String getKey() {
        return key;
    }
}